﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTO;
using DAO;

namespace BUS
{
    public  class KhoBUS
    {
        KhoDAO  cls = new KhoDAO ();
        //Load dữ liệu
        public DataTable LoadKho()
        {
            return cls.LoadKho();
        }
        //insert va update
        public void IsUp_Kho(KhoDTO p, bool flag)
        {
            cls.IsUp_Kho(p, flag);
        }
        //del
        public void Del_Kho(KhoDTO p)
        {
            cls.Del_Kho(p);
        }
        public DataTable TimKho(KhoDTO p, Boolean flag)
        {
            return cls.TimKho(p, flag);
        }
    }

}
